package com.tedu.openmedical;



import com.tedu.openmedical.config.LogTestComponent;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.PropertySource;

@SpringBootApplication
@PropertySource("classpath:application.properties")
public class StatisticsApplication {
    public static void main(String[] args) {
        ApplicationContext context = SpringApplication.run(StatisticsApplication.class, args);
        LogTestComponent logTestComponent = context.getBean(LogTestComponent.class);
        logTestComponent.printLogs();
    }
}
